﻿<Window x:Class="WpfPrismWithSplash.Shell"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:Region="clr-namespace:Microsoft.Practices.Prism.Regions;assembly=Microsoft.Practices.Prism" 
        xmlns:Constant="clr-namespace:App.Common.Constant;assembly=App.Common"
        xmlns:Behavior="clr-namespace:Wpf.Core.Behavior;assembly=Wpf.Core" Title="WPF Prism With Splash Sample" 
        MinWidth="800" MinHeight="600" 
        UseLayoutRounding="True" 
        TextOptions.TextFormattingMode="Display" 
        WindowStartupLocation="CenterScreen" 
        Style="{StaticResource ShellWindowStyle}"
        Behavior:RegionPopupBehavior.CreatePopupRegionWithName="{x:Static Constant:RegionName.PopupWindowRegion}"
        Behavior:RegionPopupBehavior.ContainerWindowStyle="{StaticResource PopupWindowRegionStyle}">
    
    <Grid>
        
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />            
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        
        <ItemsControl Region:RegionManager.RegionName="{x:Static Constant:RegionName.MainRegion}" Grid.Row="0" Grid.Column="0" />
    </Grid>
    
</Window>
